//
//  SNButton.m
//  DayDayHappy
//
//  Created by yutao on 14-2-22.
//  Copyright (c) 2014年 yutao. All rights reserved.
//

#import "SNShareButton.h"



@implementation SNShareButton

- (id)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        // Initialization code
    }
    return self;
}
- (CGRect)imageRectForContentRect:(CGRect)contentRect
{
    CGRect imageRect = CGRectZero;
    imageRect.size = CGSizeMake(kSNButtonImageWidth, kSNButtonImageHeight);
    CGFloat yPos = 15;
    CGFloat xPos = 0;
    imageRect.origin.x = xPos;
    imageRect.origin.y = yPos;
    
    return imageRect;
}
/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect
{
    // Drawing code
}
*/

@end
